<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" >
<head>
    <meta charset="utf-8">
    <title>绑定信息</title>
    <link rel="stylesheet" th:href="@{/static/qrcodes.css}" />
    <link rel="stylesheet" th:href="@{/static/bootstrap-3.3.7/css/bootstrap.css}">
    <link rel="stylesheet" th:href="@{/static/table/bootstrap.min.css}">
    <link rel="stylesheet" th:href="@{/static/table/bootstrap-table.css}">
    <link rel="stylesheet" th:href="@{/static/css/font-awesome.min.css}"  >
    <link rel="stylesheet" th:href="@{/static/table/bootstrap.min.css}">
    <!-- <link rel="stylesheet" th:href="@{/static/qrcodes.css}" />-->
    <!--    <link rel="stylesheet" th:href="@{/static/table/button.css}">-->
    <style>
        .modal-backdrop.in{
            z-index : 999 !important;
        }
    </style>
</head>
<body style="margin-right: 15px">
<div>
    <form class="form-inline">
        <input id="pName" class="form-control" placeholder="商品编号或名称"/>
        <input type="button" class="btn-primary btn-sm" value="统计" onclick="searchInfo()">
    </form>
    <br>
</div>
<table id="YourTable" class="table table-bordered" >
    <thead>
    <tr>
        <th data-field="qrCodeNumber" data-align="center" >二维码编号</th>
        <th data-field="productBatch" data-align="center">产品批次</th>
        <th data-field="productQualityTime" data-align="center">保质期至</th>
        <th data-field="productCreatTime" data-align="center" >生产日期</th>
        <th data-formatter="addButton" data-events="operateEvents" data-align="center" data-width="130px"><div style="width:130px">操作</div></th>
    </tr>
    </thead>
</table>

<!-- 模态框（Modal） -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content" style="width:80%;margin-top: 20%">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    二维码数量详情
                </h4>
            </div>
            <div class="modal-body">
                <form id="bindForm">
                <input type="text" name="" id=""/>
                <input type="text" name="" id=""/>
                <input type="text" name="" id=""/>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">返回
                </button>
                <!-- <button type="button" class="btn btn-primary" id="btn_toList">
                     否
                 </button>-->
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>

<script th:src="@{/static/table/jquery.min.js}"></script>
<script th:src="@{/static/bootstrap-3.3.7/js/bootstrap.min.js}"></script>
<script th:src="@{/static/table/bootstrap-table.js}"></script>
<script th:src="@{/static/table/bootstrap-table-zh-CN.js}"></script>
<script th:src="@{/static/appJs/bindQrInfo.js}"></script>
</body>
</html>
